package com.h3c.nem.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.h3c.nem.enums.EducationLevelEnum;
import com.h3c.nem.enums.IdTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author :h24002
 * @date :2022/6/24 11:37
 * @description :TbWorkerCardDTO 卡证制卡人员信息
 */
@ApiModel(value = "TbWorker对象", description = "卡证制卡人员信息")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TbWorkerCardDTO {
    @ApiModelProperty(value = "工号")
    private String workerId;

    @ApiModelProperty(value = "姓名")
    private String workerName;

    @ApiModelProperty(value = "一级部门名称")
    private String dept1name;

    @ApiModelProperty(value = "二级部门名称")
    private String dept2name;

    @ApiModelProperty(value = "三级部门名称")
    private String dept3name;

    @ApiModelProperty(value = "四级部门名称")
    private String dept4name;

    @ApiModelProperty(value = "报到日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="Asia/Shanghai")
    private Date joinDate;

    @ApiModelProperty(value = "日期转化字符串：yyyy-MM-dd")
    private String joinDateStr;

    @ApiModelProperty(value = "性别：1 男； 2 女；")
    private String sex;

    @ApiModelProperty(value = "证件类型")
    private IdTypeEnum certType;

    @ApiModelProperty(value = "证件号码")
    private String certNo;

    @ApiModelProperty(value = "工作履行地")
    private String workCity;

    @ApiModelProperty(value = "外派工作地")
    private String outerCity;

    @ApiModelProperty(value = "办公区域")
    private String site;

    @ApiModelProperty(value = "入司方式：社会招聘；应届毕业生")
    private String inType;

    @ApiModelProperty(value = "电话号码")
    private String phoneNo;

    @ApiModelProperty(value = "学历：本科等")
    private EducationLevelEnum education;

    @ApiModelProperty(value = "毕业院校")
    private String collegeName;

    @ApiModelProperty(value = "专业名称")
    private String majorName;

    @ApiModelProperty(value = "学历名称")
    private String educationName;

}
